﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using XamlingCore.Infrastructure.View;

namespace FlickrSample.SL.Infrastructure.Flickr.Entities
{
    public class FlickrPhoto : NotifyBase
    {
        private string photoId;
        private string title;
        private bool isPrimary;

        private FlickrMediaType mediaType;

        private List<FlickrPhotoInstance> photoInstances;

        public string PhotoId
        {
            get { return photoId; }
            set { photoId = value; }
        }

        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        public bool IsPrimary
        {
            get { return isPrimary; }
            set { isPrimary = value; }
        }

        public FlickrMediaType MediaType
        {
            get { return mediaType; }
            set { mediaType = value; }
        }

        public List<FlickrPhotoInstance> PhotoInstances
        {
            get { return photoInstances; }
            set
            {
                photoInstances = value;
                OnPropertyChanged("PhotoInstances");
            }
        }
    }
}
